import time
from celery_tasks.main import app


@app.task(bind=True,name="send_sms_code")
def send_sms_code(self,sms_code):

    #睡眠,模拟发送短信验证码，制造需要耗时假象
    time.sleep(10)
